
<br>
<table width="30%" height="100%" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" border="0" style="margin-top:15%;margin-left:35%">
	<tr style="background-color:#FFFFFF';position:fixed;z-index:1;">
		<td class="title">
			<%= error_messages_for %>
		</td>
	</tr>
	
	<% form_for :account ,:url=> {:action =>'login'} do |f| %>
	<tr>
		<td  align="center" colspan="2"> 
			<table border="0" height="20" width="100%" cellspacing="0" cellpadding="0">
				<tr>
					<td width="100%" class="titleLogin" nowrap="true" align="left"  colspan="2" style="margin-left:20px">
						<h1 class="titleLogin" style="margin-left:20px">GFrotas</h1>
					</td>
				</tr>
				<tr>
					<td width="100%" class="title" nowrap="true" align="left" colspan="2">
						<h5 class="title" style="margin-left:40px"><i>Gestão de Frotas</i></h5>
					</td>
				</tr>
			</table>
		</td>
	</tr>

	<tr>
		<td  align="center" colspan="2"> 
			<table border="0" height="20" width="100%" cellspacing="0" cellpadding="0">
				<tr>
					<td width="50%" nowrap="true" align="right" height="20">
						<label for="login" class="labelFieldHeader"><span class="campoObrigatorio">*</span> Usuário:</label>
					</td>
					<td align="left" width="50%" height="20">
						<%= text_field 'user', 'login' ,:size => 20,:maxlength => 20,:class =>'inputText'  %>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td  align="center" colspan="2"> 
			<table border="0" height="20" width="100%">
				<tr>
					<td width="50%" nowrap="true" align="right" height="20">
						<label for="password" class="labelFieldHeader"><span class="campoObrigatorio">*</span>Senha:</label>
					</td>
					<td align="left" width="50%" height="20">
						<%= password_field 'user', 'password' ,:size => 20,:maxlength => 20,:class =>'inputText'  %>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td align="center" colspan="2"> 
			<table border="0" height="20" width="100%" cellspacing="0" cellpadding="0">
				<tr>
					<td width="50%" nowrap="true" align="right" height="20" class="title" align="right">

							<%= link_to("<span>Cadastra-se</span>",:controller =>"account",:action =>"signup")%>

					</td>
					<td align="center" width="50%" height="20" class="title">
						<input src="/images/salvar_btn.gif" type="image" alt="Salvar" />
					</td>
				</tr>
			</table>
		</td>
	</tr>	
		<% end %>
</table>	



